package com.shenfc.fxzj.mapper;

import java.io.Serializable;

/**
 * Created by Administrator on 2018/2/3 0003.
 */
public interface BaseMapper<T extends Object, PK extends Serializable> {

    T selectByPrimaryKey(PK id);

    int insert(T entityClass);

    int insertSelective(T entityClass);

    int updateByPrimaryKey(T entityClass);

    int updateByPrimaryKeySelective(T entityClass);

    int deleteByPrimaryKey(PK id);

}